package com.zbkj.crmeb.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.PageParamRequest;
import com.github.pagehelper.PageInfo;
import com.zbkj.crmeb.chant.model.ChannelMerchant;
import com.zbkj.crmeb.chant.request.ChannelProductRequest;
import com.zbkj.crmeb.chant.vo.ChannelProductVo;
import com.zbkj.crmeb.front.request.IndexStoreProductSearchRequest;
import com.zbkj.crmeb.store.model.PurchaseOrder;
import com.zbkj.crmeb.store.model.StoreProduct;
import com.zbkj.crmeb.store.request.PurchaseOrderRequest;
import com.zbkj.crmeb.store.request.StoreProductRequest;
import com.zbkj.crmeb.store.request.StoreProductSearchRequest;
import com.zbkj.crmeb.store.request.StoreProductStockRequest;
import com.zbkj.crmeb.store.response.StoreProductApiResponse;
import com.zbkj.crmeb.store.response.StoreProductResponse;
import com.zbkj.crmeb.store.response.StoreProductTabsHeader;
import org.json.JSONException;

import java.io.IOException;
import java.util.List;

/**
 *
 * @author cyz
 * @date 2021/4/8 16:39
 */
public interface StorePurchseOrderService extends IService<PurchaseOrder> {

    /**
     * 
     * @author cyz
     * @date 2021/4/13 15:37
     * @param storeOrderId 
     * @return java.lang.Integer
     */
    Integer getPurchaseOrderCount(String storeOrderId);

    /**
     * 
     * @author cyz
     * @date 2021/4/13 15:38
     * @param request
     * @return com.zbkj.crmeb.store.model.PurchaseOrder
     */
    PurchaseOrder getPurchaseOrderByOrderId(PurchaseOrderRequest request);

}
